package com.zdp.chat.entity.chat;

import com.zdp.chat.enums.ContextTypeEnum;
import com.zdp.chat.enums.RoomTypeEnum;
import lombok.Data;

@Data
public class ChatMessageReq<T> {

    /**
     * 房间id
     */
    private String roomId;

    /**
     * 房间类型
     *
     * @see RoomTypeEnum
     */
    private Integer roomType;

    /**
     * 消息类型
     *
     * @see ContextTypeEnum
     */
    private Integer msgType;

    /**
     * 消息体
     */
    private T data;
}
